<?php
class DoBatchRemoveAction extends BackendAction
{
	public function execute()
	{
		$ipBlacklistDao = new IpBlacklistDao();
		foreach ($_POST["blacklists"] as $blacklist)
		{
			$ipBlacklistDao->deleteIp($blacklist);
		}
		$this->view->result["code"] = 200;
		$this->view->render();
	}
}